#!/bin/bash
# Copyrignt (c) xuzeshui.com. All Rights Reserved.
# Author: Zeshui Xu<i@xuzeshui.com>
# Created Time: 2016-03-09 14:10:54
# Last Modified: 2016-08-26 21:02:21
# File Name: program-list.sh
# Description: 

path="/filmvideo/mgr/program/create"

params='
{
}
'

body='
{
    "media_type": 1,
    "seq": 2,
    "pic_url": "http://1.2.3.4",
    "category_id": 101,
    "category_name": "xzs"
}
'

url=`python geturl.py "${path}" "${params}"`
curl -v -k -d "${body}" "${url}"
